set LAUNCHER=e:\eclipse-jee-35\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
set REPO_URL=file:///e:/workspaces/sandbox/p4reviewboard-scripts/repository
set SITE_XML_URL=file:///e:/workspaces/sandbox/p4reviewboard-site/site.xml

java -jar %LAUNCHER% -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher -metadataRepository %REPO_URL% -artifactRepository %REPO_URL% -source ..\p4reviewboard-site -compress -publishArtifacts

java -jar %LAUNCHER% -application org.eclipse.equinox.p2.publisher.CategoryPublisher -metadataRepository %REPO_URL% -categoryDefinition %SITE_XML_URL% -categoryQualifier -compress
